<template>
    <h1>所属地区</h1>
    <h1>注册地区：{{$route.params.areas}}</h1>
</template>
<script>
export default{

    mounted(){
        console.log(this.$route.params.areas)
    },
    beforeRouteUpdate(to){
        console.log(to.params)
    }
}
</script>